package com.urea.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.urea.common.annotation.Excel;
import com.urea.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 客户/车队账户对象 t_customer_account
 * 
 * @author liuzd
 * @date 2023-08-01
 */
@Data
@ToString
public class CustomerAccountVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 客户id/车队id */
    @Excel(name = "客户id/车队id")
    private Long customerId;

    /** 是否为车队账户;0否，1是 */
    @Excel(name = "是否为车队账户;0否，1是")
    private String fleet;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal Balance;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**队员id*/
    private Long uid;
    /** 车队id*/
    private Long fleetId;
}
